home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
datescrn.arc
/
CLR_BUFR.C
next >
Wrap
Text File
|
1985-12-12
|
1KB
|
27 lines
/****************************************************************************/
/* */
/* This function was written by Jim Niederriter for the Lattice `C' Compiler*/
/* on the IBM Personal Computer or compatible, running DOS 2.0. */
/* */
/* It requires that the system be booted with a CONFIG.SYS file on the boot */
/* disk containing the record: DEVICE=ANSI.SYS */
/* */
/* In addition, the ANSI.SYS file from the DOS 2.0 disk should also be on */
/* the boot disk. */
/* */
/* See Chapter 13 of the DOS 2.0 Manual for further explanation. */
/* */
/****************************************************************************/
/* clr_bufr() */
/* this function clears the input buffer area to be filled by filling */
/* each field with a blank string or zeroes. */
int clr_bufr(buffer, bytes)
unsigned bytes;
char *buffer;
#define NULL 0
{
setmem(buffer, bytes, NULL);
}